using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;

public class PointerClickChoose : MonoBehaviour,IPointerClickHandler
{
    
    public void OnPointerClick(PointerEventData eventData)
    {
        //Debug.Log(eventData.pointerCurrentRaycast.gameObject.name);
        string name = eventData.pointerCurrentRaycast.gameObject.name;
        MessageManager.Instance.OnBroCast(MessageId.DianJiDeRole, name);
    }
}
